package com.xinruke.hostels.dailymanage.interfaces.dto.roomrepair;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author yutaipu
 */
@ApiModel(value = "维修完成请求DTO")
@Data
public class RoomRepairCompleteDTO {

    @ApiModelProperty(value = "维修记录id", required = true)
    @NotNull(message = "维修记录id不能为空")
    private Integer id;

    @ApiModelProperty(value = "维修结果", required = true)
    @NotNull(message = "维修结果不能为空")
    private String weixiujieguo;
}
